package com.bjut.vendormgrsys.web.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import javax.validation.Valid;
import java.util.List;

@Data
public class ResultList {
    @JsonProperty("code")
    private Integer code = null;

    @JsonProperty("message")
    private String message = null;

    @JsonProperty("data")
    private ResultListData data = null;

    public ResultList code(Integer code) {
        this.code = code;
        return this;
    }

    public ResultList message(String message) {
        this.message = message;
        return this;
    }

    public ResultList data(ResultListData data) {
        this.data = data;
        return this;
    }
}
